package cn.chrisn.factory.factorMethod;

/**
 * @Description
 * @Author Chrisn
 * @Date 2025/4/29
 */
public class BMWFactor implements factorMethod{

    @Override
    public Car buildCar() {
        System.out.println("这里是BMW工厂，我们只生产BMW汽车");
        return new BMW();
    }
}
